package com.sailfish.springbootdemo.service.db1;

import com.sailfish.springbootdemo.pojo.Result;
import com.sailfish.springbootdemo.pojo.db1.LineTechBigType;

import java.util.List;

public interface LineTechBigTypeService {

    /**
     * 查询所有
     *
     * @param searchValue
     * @return
     */
    List<LineTechBigType> getAllLineTechBigType(String searchValue);

    /**
     * 新增或者更新
     *
     * @return
     */
    Result addOrUpdateLineTechBigType(LineTechBigType lineTechBigType, String mode);

    /**
     * 删除
     *
     * @param lineTechBigTypeId
     * @return
     */
    Result deleteLineTechBigType(Integer lineTechBigTypeId);
}
